package com.carleasoft.mps.adu.business.basicsInfo.bean.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author: yangHao
 * @createDate:2023/6/27
 * @description:
 */
@Data
public class UserInfoExcelVo implements Serializable {


    /**
     * 用户名字
     */
    @Excel(name = "姓名")
    private String userName;

    /**
     * 1-男，2-女，3-未知
     */
    @Excel(name = "性别", replace = {"男_1","女_2"})
    private Integer sex;

    /**
     * 身份证号码
     */
    @Excel(name = "身份证（隐藏）")
    private String idCard;

    /**
     * 年龄
     */
    @Excel(name = "年龄")
    private Integer age;

    /**
     * 出生日期
     */
    @Excel(name = "出生日期（yyyy-MM-dd格式）", format = "yyyy-MM-dd")
    private LocalDate birthday;

    /**
     * 政治面貌
     * 01 中共党员
     * 02 中共预备党员
     * 03 共青团员
     * 04 民革党员
     * 05 民盟盟员
     * 06 民建会员
     * 07 民进会员
     * 08 农工党党员
     * 09 致公党党员
     * 10 九三学社社员
     * 11 台盟盟员
     * 12 无党派人士
     * 13 群众
     */
    @Excel(name = "政治面貌", replace = {"中共党员_1","中共预备党员_2","共青团员_3","民革党员_4","民盟盟员_5","民建会员_6","民进会员_7","农工党党员_8","致公党党员_9","九三学社社员_10","台盟盟员_11","无党派人士以及群众_12","群众_13"})
    private Integer political;

    /**
     * 婚姻状况  1-已婚  2-未婚  3-离异  4-丧偶
     */
//    @Excel(name = "婚姻状况", replace = {"已婚_1","未婚_2","离异_3","丧偶_4"})
    private Integer marital;

    /**
     * 入伍时间
     */
    @Excel(name = "入伍时间（yyyy-MM-dd格式）", format = "yyyy-MM-dd")
    private LocalDate enlistmentTime;

    /**
     * 军衔
     */
    @Excel(name = "军衔",replace={"上将_245","中将_395","少将_397","大校_409","上校_419","中校_429","少校_439","上尉_447","中尉_457","少尉_465","一级军士长_475","二级军士长_481","三级军士长_493","一级上士_583","二级上士_585","中士_587","下士_589","上等兵_591","列兵_593"})
    private String militaryRank;


    /**
     * 职业技能鉴定  1-无  2-初级  3-中级  4-高级  5-技师  6-高级技师
     */
    @Excel(name = "职业技能鉴定", replace = {"无_595","初级_599","中级_601","高级_603","技师_605","高级技师_607","初职_609","中职_611","高职_613"})
    private Integer skill;

    /**
     * 个人爱好
     */
//    @Excel(name = "个人爱好")
    private String hobby;

    /**
     * 照片（头像）
     */
//    @Excel(name = "头像")
    private String headPicture;

    /**
     * 籍贯
     */
    @Excel(name = "籍贯")
    private String nativePlace;

    /**
     * 比武竞赛情况
     */
    @Excel(name = "比武竞赛情况")
    private String joustMsg;

    /**
     * 奖惩情况
     */
    @Excel(name = "奖惩情况")
    private String rewardPunMsg;

    /**
     * 学历1-小学，2-初中，3-高中，4-专科，5-本科，6-硕士，7-博士，99-其他
     */
    @Excel(name = "学历",replace = {"小学_1","初中_2","高中_3","专科_4","本科_5","硕士_6","博士_7","其他_99"})
    private Integer education;

    /**
     * 身高
     */
//    @Excel(name = "身高")
    private Integer height;

    /**
     * 体重
     */
//    @Excel(name = "体重")
    private Integer weight;

    /**
     * 军职
     */
//    @Excel(name = "军职")
    private String militaryAppointment;


    /**
     * 指挥技能 1-无 2-优秀四会教员 3-优秀指挥员 4-优秀技术军官
     */
//    @Excel(name = "指挥技能",replace ={"无_615","优秀四会教员_617","优秀指挥员_619","优秀技术军官_621"} )
    private Integer command;

    /**
     * 科室
     */
//    @Excel(name = "科室")
    private String deptName;

    @Excel(name = "用户编号(字母+数字8位)")
    private String userNumber;
}
